/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.hugo.senai.classes;

import br.com.hugo.senai.dao.Hibernate;
import br.com.hugo.senai.entities.Usuario;

/**
 *
 * @author Simulado
 */
public class Banco {
    
    public static void main(String[] args) {
        
        Usuario u = new Usuario();
        
        u.setAdministrador(true);
        u.setNome("Administrador");
        u.setEmail("email");
        u.setLogin("admin");
        u.setSenha("admin");
        
        Hibernate.save(u);
        
    }
    
}
